package com.yida.gwj.basis.domain.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author lqq
 * @date 2023-08-25
 */
@ApiModel("业主认证请求对象")
public class GwjOwnerAttestRequest implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("小区ID")
    @NotNull(message = "小区ID不能为空")
    private Long communityId;

    @ApiModelProperty("小区名称")
    @NotBlank(message = "小区名称不能为空")
    private String communityName;

    @ApiModelProperty("楼栋ID")
    @NotNull(message = "楼栋ID不能为空")
    private Long buildId;

    @ApiModelProperty("楼栋名称")
    @NotBlank(message = "楼栋名称不能为空")
    private String buildName;

    @ApiModelProperty("楼栋标识码")
    @NotBlank(message = "楼栋标识码不能为空")
    private String buildCode;

    @ApiModelProperty("房屋ID")
    @NotNull(message = "房屋ID不能为空")
    private Long houseId;

    @ApiModelProperty("房牌号")
    @NotBlank(message = "房牌号不能为空")
    private String roomNum;

    @ApiModelProperty("房屋标识码")
    @NotBlank(message = "房屋标识码不能为空")
    private String houseCode;

    @ApiModelProperty("业主名称")
    @NotBlank(message = "业主名称不能为空")
    private String ownerName;

    @ApiModelProperty("身份证号码")
    @NotBlank(message = "身份证号码不能为空")
    private String cardNum;

    @ApiModelProperty("手机号码")
    @NotBlank(message = "手机号码不能为空")
    private String ownerPhone;

    @ApiModelProperty("短信验证码")
    @NotBlank(message = "短信验证码不能为空")
    private String smsCode;

    @ApiModelProperty("地区ID")
    @NotNull(message = "地区ID不能为空")
    private Long areaId;

    @ApiModelProperty("街道ID")
    @NotNull(message = "街道ID不能为空")
    private Long streetId;

    @ApiModelProperty("产权号")
    @NotBlank(message = "产权号不能为空")
    private String certificateNum;

    @ApiModelProperty("产权地址")
    @NotBlank(message = "产权地址")
    private String certificateAddress;

    @ApiModelProperty("房产证图片路径")
    @NotNull(message = "房产证图片路径")
    private String certificateImgUrl;

    public Long getBuildId() {
        return buildId;
    }

    public void setBuildId(Long buildId) {
        this.buildId = buildId;
    }

    public Long getHouseId() {
        return houseId;
    }

    public void setHouseId(Long houseId) {
        this.houseId = houseId;
    }

    public Long getStreetId() {
        return streetId;
    }

    public void setStreetId(Long streetId) {
        this.streetId = streetId;
    }

    public Long getCommunityId() {
        return communityId;
    }

    public void setCommunityId(Long communityId) {
        this.communityId = communityId;
    }

    public String getCommunityName() {
        return communityName;
    }

    public void setCommunityName(String communityName) {
        this.communityName = communityName;
    }

    public String getBuildName() {
        return buildName;
    }

    public void setBuildName(String buildName) {
        this.buildName = buildName;
    }

    public String getBuildCode() {
        return buildCode;
    }

    public void setBuildCode(String buildCode) {
        this.buildCode = buildCode;
    }

    public String getRoomNum() {
        return roomNum;
    }

    public void setRoomNum(String roomNum) {
        this.roomNum = roomNum;
    }

    public String getCertificateAddress() {
        return certificateAddress;
    }

    public void setCertificateAddress(String certificateAddress) {
        this.certificateAddress = certificateAddress;
    }

    public String getHouseCode() {
        return houseCode;
    }

    public void setHouseCode(String houseCode) {
        this.houseCode = houseCode;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getCardNum() {
        return cardNum;
    }

    public void setCardNum(String cardNum) {
        this.cardNum = cardNum;
    }

    public String getOwnerPhone() {
        return ownerPhone;
    }

    public void setOwnerPhone(String ownerPhone) {
        this.ownerPhone = ownerPhone;
    }

    public String getSmsCode() {
        return smsCode;
    }

    public void setSmsCode(String smsCode) {
        this.smsCode = smsCode;
    }

    public Long getAreaId() {
        return areaId;
    }

    public void setAreaId(Long areaId) {
        this.areaId = areaId;
    }

    public String getCertificateNum() {
        return certificateNum;
    }

    public void setCertificateNum(String certificateNum) {
        this.certificateNum = certificateNum;
    }

    public String getCertificateImgUrl() {
        return certificateImgUrl;
    }

    public void setCertificateImgUrl(String certificateImgUrl) {
        this.certificateImgUrl = certificateImgUrl;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("GwjOwnerAttestRequest{");
        sb.append("communityId=").append(communityId);
        sb.append(", communityName='").append(communityName).append('\'');
        sb.append(", buildId=").append(buildId);
        sb.append(", buildName='").append(buildName).append('\'');
        sb.append(", buildCode='").append(buildCode).append('\'');
        sb.append(", houseId=").append(houseId);
        sb.append(", roomNum='").append(roomNum).append('\'');
        sb.append(", houseCode='").append(houseCode).append('\'');
        sb.append(", ownerName='").append(ownerName).append('\'');
        sb.append(", cardNum='").append(cardNum).append('\'');
        sb.append(", ownerPhone='").append(ownerPhone).append('\'');
        sb.append(", smsCode='").append(smsCode).append('\'');
        sb.append(", areaId=").append(areaId);
        sb.append(", streetId=").append(streetId);
        sb.append(", certificateNum='").append(certificateNum).append('\'');
        sb.append(", certificateAddress='").append(certificateAddress).append('\'');
        sb.append(", certificateImgUrl='").append(certificateImgUrl).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
